package zhouzhouyongche.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import zhouzhouyongche.dao.SeatDao;
import zhouzhouyongche.model.Seat;
import zhouzhouyongche.service.SeatService;

@Service
public class SeatServiceImpl implements SeatService{

	@Autowired
	private SeatDao seatDao;
	
	@Override
	public List<Seat> querySeat(int ticketId) {
		List list = seatDao.querySeat(ticketId);
		return list;
	}
	
}
